package com.elder.business.mapper;

import java.util.List;
import com.elder.business.domain.NurseContent;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.access.method.P;

/**
 * 护理内容Mapper接口
 * 
 * @author zyk
 * @date 2023-11-26
 */
public interface NurseContentMapper 
{
    /**
     * 查询护理内容
     * 
     * @param nurseId 护理内容主键
     * @return 护理内容
     */
    public NurseContent selectNurseContentByNurseId(Long nurseId);

    /**
     * 查询护理内容列表
     *
     * @return 护理内容集合
     */
    public List<NurseContent> selectNurseContentList(@Param("nurseName") String nurseName,@Param("status") Integer status);

    /**
     * 新增护理内容
     * 
     * @param nurseContent 护理内容
     * @return 结果
     */
    public int insertNurseContent(NurseContent nurseContent);

    /**
     * 修改护理内容
     * 
     * @param nurseContent 护理内容
     * @return 结果
     */
    public int updateNurseContent(NurseContent nurseContent);

    /**
     * 删除护理内容
     * 
     * @param nurseId 护理内容主键
     * @return 结果
     */
    public int deleteNurseContentByNurseId(Long nurseId);

    /**
     * 批量删除护理内容
     * 
     * @param nurseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNurseContentByNurseIds(Long[] nurseIds);

    List<NurseContent> getNurseContentList(@Param("nurseIds") List<Long> nurseIds);

    Integer updateNurseContentApproval(@Param("nurseId") Long nurseId, @Param("notes")String notes,@Param("nurseStatus") Integer nurseStatus);
}
